package com.kanshu.ksgb.fastread.doudou.module.personal.activity

import android.app.Activity
import android.content.Intent
import android.os.Bundle
import com.alibaba.android.arouter.facade.annotation.Route
import com.kanshu.ksgb.fastread.doudou.R
import com.kanshu.ksgb.fastread.doudou.app.constants.ARouterConfig
import com.kanshu.ksgb.fastread.doudou.base.baseui.BaseActivity
import com.kanshu.ksgb.fastread.doudou.module.personal.fragment.PrenticeFragment

@Route(path = ARouterConfig.PERSONAL_PRENTICE)
class PrenticeActivity :BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setTitle(R.string.my_prentices)
        showFragment(PrenticeFragment(),"PrenticeActivity")
    }

    companion object {
        fun actionStart(activity: Activity){
            activity.startActivity(Intent(activity,PrenticeActivity::class.java))
        }
    }
}
